package conson.tech.manage.activity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import conson.tech.manage.activity.entity.pojo.TicketInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * InterfaceName: TicketMapper
 * Description: TODO
 * Author: HXL
 * Date: 2020/5/22 11:21 上午
 * Version: 1.0
 */
public interface TicketMapper  extends BaseMapper<TicketInfo> {
    List<TicketInfo> queryTicketInfo(@Param("userId") Long userId);

    TicketInfo queryTicketInfoById(@Param("id") Long id,@Param("userId") Long userId);

    List<TicketInfo> queryTicketInfoListById(@Param("ticketRecordList")List<Long> ticketRecordList);
}
